home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0122-Re bByte not for By-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-20  |  730 b   |  24 lines  |  [TEXT/GEOL]

  1. Item    6865256                         18-Oct-89        08:37
  2.  
  3. From:   PASCOE1                         Pascoe, Geoff
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    Re: bByte not for Byte
  8.  
  9. Sigmund,
  10.  
  11. Yes, this appears to be a poor choice in naming.  But, this is not MacApp's
  12. fault- MacApp is just trying to be consistent with Inside the Mac (see I-78).
  13. You see, the problem is that Pascal does not support unsigned values-
  14. everything is signed.  So, when one defines Byte as follows
  15.  
  16. Byte = 0..255
  17.  
  18. there is no way this can be held in a signed value of a byte size- it takes at
  19. least 2 bytes (rounding up to the nearest byte, of course).  Makes you wish for
  20. an Object Modula-2 compiler doesn't it?
  21.  
  22. Geoff
  23.  
  24.